@import url("base.css");
@import url("footer.css");
/*幻灯片start*/
.slider {
  display: block;
  height: 200px;
  position: relative;
}
@media screen and (min-width: 914px) {
  .slider {
    height: 310px;
  }
}
.slider img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/* 复制swiper css样式 */
.swiper-container {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}
.swiper-container img {
  max-height: 100%;
  object-fit: cover;
  overflow: hidden;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-pagination-bullet {
  background: #FF2D55 !important;
}
/*幻灯片end*/
/* 顶部广告 */
.ad {
  color: #9f9fA0;
  height: 48px;
  line-height: 48px;
  text-align: right;
  background-color: #444;
  background-color: #fff;
  position: relative;
}
.ad a {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.ad .close {
  position: absolute;
  right: 5px;
  top: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background-image: url(../icons/close.svg);
  background-repeat: no-repeat;
  background-position: center center;
}
.nav {
  line-height: 48px;
  background: #ffffff;
  border-top: 0.1px dashed #ccc;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav ul {
  display: flex;
  justify-content: space-around;
}
.nav ul li {
  min-width: 48px;
}
.nav ul li::after {
  content: '';
  display: inline-block;
  width: 18.4px;
  height: 18.4px;
  margin-left: 0.125rem;
  vertical-align: text-bottom;
  background-image: url(../icons/arrow-black.svg);
  background-size: 100%;
  background-position: 0 0;
}
.nav ul li a {
  color: #f5f5f7;
  color: rgba(0, 0, 0, 0.8);
}
.main-nav {
  display: grid;
  width: cal(90%);
  min-height: 50px;
  background-color: #fafafa;
  padding-bottom: 30px;
}
ul.grid {
  display: grid;
  text-align: center;
  justify-content: center;
  grid-template-columns: repeat(3, 30%);
}
.grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-overflow: clip;
  white-space: nowrap;
  overflow: hidden;
  padding: 12px 12px;
  border-radius: 4px;
  margin-right: 0.3125rem;
  margin-bottom: 0.3125rem;
  color: #fff;
  background-color: lightgreen;
}
ul.grid li {
  background: var(--red);
}
ul.grid li {
  background: var(--orange);
}
ul.grid li {
  background: var(--green);
}
ul.grid li {
  background: var(--blue);
}
ul.grid li {
  background: var(--avocado);
}
ul.grid li {
  background: var(--blue);
}
ul.grid li {
  background: var(--blue);
}
ul.grid li {
  background: var(--blue);
}
ul.grid li {
  background: var(--blue);
}
ul.grid li {
  background: var(--blue);
}
.grid li:nth-child(3n) {
  margin-right: 0;
}
.grid li a {
  text-overflow: clip;
  white-space: nowrap;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
